﻿using System;
using System.Collections.Generic;
using System.Reflection;

using Pamela.Logic.Helpers;
using Pamela.Logic.Imps.Mvc;
using Pamela.Logic.Layers.Base;
using Pamela.Logic.ProjectFiles;

namespace Pamela.Logic.Layers.Mvc
{
    public class MvcDataLayer : BaseLayer
    {
        public MvcDataLayer(Assembly assembly, BuilderInfo info)
            : base(info, "Data")
        {
            this.projectFile = new ProjectFileData(info);

            this.builderCollection.Add(new MvcRepositoryBuilder(assembly, info, this.layerName));
        }
    }
}
